1 \e[27m./3.scripttest_param_b.sh
2 /data/data/com.termux/files/home/.testing/scripttest-3294106781/3.scripttest_param_b
7 args_begin_test_id is invoked!
8 args_set_test_info is invoked!
19 args_begin_test_id is invoked!
26 testcase dir is "/data/data/com.termux/files/home/.testing/scripttest-3294106781/3.scripttest_param_b/scripts/testing"
27 \e[1m
\e[32m [unit] 1.测试套件的测试 begin testing ...
\e[0m
28 \e[1m
\e[35m [item] 2 scripttest_param_a 测试命令的-a功能参数测试 ...
\e[0m
\e[1m
\e[35m[ ok ]
\e[0m
29 \e[1m
\e[32m [unit] 2.脚本运行环境测试 begin testing ...
\e[0m
30 \e[1m
\e[35m [item] 1 shell_interpreter_fix_testing 解释器修正程序测试 ...
\e[0m
\e[1m
\e[35m[failed]
\e[0m
31 testing result difference from correct output.
32 ###############################################
34 < \n1.无参数。对文件中原有的interpreter进行路径修正,如果不存在,输出提示信息。
35 < cp: warning: source file '1.shell_interpreter_fix_testing.sh' specified more than once
36 < chmod: cannot access 'scripts/*': No such file or directory
37 < head: cannot open 'scripts/1.interpreter_sh_with_wrong_path.sh' for reading: No such file or directory
38 < /data/data/com.termux/files/usr/bin/bash
39 < /data/data/com.termux/files/usr/bin/sh
40 < head: cannot open 'scripts/1.interpreter_sh_with_wrong_path.sh' for reading: No such file or directory
41 < interpreter not fixed.
42 < ./1.shell_interpreter_fix_testing.sh: line 43: ./scripts/1.interpreter_sh_with_wrong_path.sh: No such file or directory
43 < interpreter not fixed
44 ###############################################
46 \e[31m(
\e[32m2
\e[31m) items is tested,Error count is (
\e[32m1
\e[31m)
\e[0m
48 args_begin_test_id is invoked!
49 args_set_test_info is invoked!
60 args_begin_test_id is invoked!
61 args_set_test_info is invoked!
78 testcase dir is "/data/data/com.termux/files/home/.testing/scripttest-3294106781/3.scripttest_param_b/scripts/testing"
79 \e[1m
\e[32m [unit] 2.脚本运行环境测试 begin testing ...
\e[0m
80 \e[1m
\e[35m [item] 2 shell_interpreter_path shell解释器路径测试 ...
\e[0m
\e[1m
\e[35m[failed]
\e[0m
81 testing result difference from correct output.
82 ###############################################
84 <
\e[27m./2.shell_interpreter_path.sh
85 < ./2.shell_interpreter_path.sh
86 ###############################################
87 \e[1m
\e[35m [item] 3 sys_cmd_list 系统命令列表 ...
\e[0m
\e[1m
\e[35m[failed]
\e[0m
88 testing result difference from correct output.
89 ###############################################
91 <
\e[27m./3.sys_cmd_list.sh
93 ###############################################
95 \e[31m(
\e[32m2
\e[31m) items is tested,Error count is (
\e[32m2
\e[31m)
\e[0m